package o;

import android.graphics.drawable.Drawable;
import android.view.View;
import androidx.appcompat.widget.SearchView;
import java.lang.ref.WeakReference;

public class po extends SkinAttr {

    static final class d extends fkz<SkinAttr, Drawable> {
        private WeakReference<SearchView> ॱ;

        public /* synthetic */ void ॱ(Object obj) {
            ˏ((Drawable) obj);
        }

        private d(SearchView searchView) {
            this.ॱ = new WeakReference(searchView);
        }

        public void ˏ(Drawable drawable) {
            SearchView searchView = (SearchView) this.ॱ.get();
            if (searchView != null) {
                gct.ᐝ(searchView, drawable);
            }
        }
    }

    public po() {
        this.ˎ = 0;
    }

    public void ˎ(View view, boolean z) {
        if (view instanceof SearchView) {
            SearchView searchView = (SearchView) view;
            if ("drawable".equals(this.attrValueTypeName) || "color".equals(this.attrValueTypeName)) {
                this.ʽ = "drawable";
                fks.ˎ(view.getContext(), this, new d(searchView)).ॱ(z);
            }
        }
    }
}
